﻿import QtQuick 2.15
import QtQuick.Controls 2.15

/*
  排料加工界面
*/

Item {
    id:backGround
    width: screenWidth
    height: 1600

    Rectangle{
        anchors.fill: backGround
        color: "#00bfff"
        border.width: 5
        border.color: "#F0F8FF"
    }

    onVisibleChanged: {
        if(visible === true)
        {
            // 页码赋值为 4
            Cpp_Connect.pageNumber = 4
            // 获取数据库 第一页 内容
            Cpp_PLProcess.getParameterByPacket(0)
        }
    }


    Row {
        anchors.left: backGround.left
        anchors.leftMargin: 5
        anchors.top: backGround.top
        anchors.topMargin: 70
        Repeater{
            model:7

            Rectangle{
                width: index === 0 ? 110 : index === 1 ? 140 : index === 2 ? 140 : 170
                height: 60
                border.width: 1
                border.color: "#f0f8ff"
                color: "black"

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: 30
                    font.bold: true
                    color: "white"
                    text: index === 0 ? qsTr("序号") : index === 1 ? qsTr("左角度") : index === 2 ? qsTr("右角度") :
                          index === 3 ? qsTr("料高") : index === 4 ? qsTr("料长")   : index === 5 ? qsTr("数量") : qsTr("已切数量")

                    MouseArea{
                        anchors.fill: parent

                        onPressed: {
                            if( index === 6)
                            {
                                Cpp_Connect.write_modbus_rtu_Coils("142","1")
                            }
                        }

                        onReleased: {
                            if( index === 6)
                            {
                                Cpp_Connect.write_modbus_rtu_Coils("142","0")
                            }
                        }

                    }

                }
            }
        }
    }

    function  writeParameterIntoPL(index)
    {
        switch(index)
        {
        case 1:
            console.log("触发 第一行 批量写入程序")
            if(leftAngle01_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1520","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1520","1")
            }
            if(rightAngle01_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1521","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1521","1")
            }
            Cpp_Connect.write_modbus_rtu_Hold_F("1400",lg_Value01_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold_F("1440",lc_Value01_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold("1480",count01_Text.text)
            break;
        case 2:
            console.log("触发 第二行 批量写入程序")
            if(leftAngle02_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1522","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1522","1")
            }
            if(rightAngle02_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1523","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1523","1")
            }
            Cpp_Connect.write_modbus_rtu_Hold_F("1402",lg_Value02_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold_F("1442",lc_Value02_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold("1481",count02_Text.text)
            break;
        case 3:
            console.log("触发 第三行 批量写入程序")
            if(leftAngle03_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1524","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1524","1")
            }
            if(rightAngle03_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1525","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1525","1")
            }
            Cpp_Connect.write_modbus_rtu_Hold_F("1404",lg_Value03_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold_F("1444",lc_Value03_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold("1482",count03_Text.text)
            break;
        case 4:
            console.log("触发 第四行 批量写入程序")
            if(leftAngle04_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1526","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1526","1")
            }
            if(rightAngle04_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1527","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1527","1")
            }
            Cpp_Connect.write_modbus_rtu_Hold_F("1406",lg_Value04_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold_F("1446",lc_Value04_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold("1483",count04_Text.text)
            break;
        case 5:
            console.log("触发 第五行 批量写入程序")
            if(leftAngle05_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1528","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1528","1")
            }
            if(rightAngle05_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1529","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1529","1")
            }
            Cpp_Connect.write_modbus_rtu_Hold_F("1408",lg_Value05_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold_F("1448",lc_Value05_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold("1484",count05_Text.text)
            break;
        case 6:
            console.log("触发 第六行 批量写入程序")
            if(leftAngle06_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1530","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1530","1")
            }
            if(rightAngle06_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1531","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1531","1")
            }
            Cpp_Connect.write_modbus_rtu_Hold_F("1410",lg_Value06_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold_F("1450",lc_Value06_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold("1485",count06_Text.text)
            break;
        case 7:
            console.log("触发 第七行 批量写入程序")
            if(leftAngle07_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1532","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1532","1")
            }
            if(rightAngle07_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1533","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1533","1")
            }
            Cpp_Connect.write_modbus_rtu_Hold_F("1412",lg_Value07_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold_F("1452",lc_Value07_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold("1486",count07_Text.text)
            break;
        case 8:
            console.log("触发 第八行 批量写入程序")
            if(leftAngle08_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1534","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1534","1")
            }
            if(rightAngle08_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1535","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1535","1")
            }
            Cpp_Connect.write_modbus_rtu_Hold_F("1414",lg_Value08_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold_F("1454",lc_Value08_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold("1487",count08_Text.text)
            break;
        case 9:
            console.log("触发 第九行 批量写入程序")
            if(leftAngle09_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1536","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1536","1")
            }
            if(rightAngle09_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1537","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1537","1")
            }
            Cpp_Connect.write_modbus_rtu_Hold_F("1416",lg_Value09_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold_F("1456",lc_Value09_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold("1488",count09_Text.text)
            break;
        case 10:
            console.log("触发 第十行 批量写入程序")
            if(leftAngle10_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1538","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1538","1")
            }
            if(rightAngle10_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1539","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1539","1")
            }
            Cpp_Connect.write_modbus_rtu_Hold_F("1418",lg_Value10_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold_F("1458",lc_Value10_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold("1489",count10_Text.text)
            break;
        case 11:
            console.log("触发 第十一行 批量写入程序")
            if(leftAngle11_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1540","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1540","1")
            }
            if(rightAngle11_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1541","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1541","1")
            }
            Cpp_Connect.write_modbus_rtu_Hold_F("1420",lg_Value11_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold_F("1460",lc_Value11_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold("1490",count11_Text.text)
            break;
        case 12:
            console.log("触发 第十二行 批量写入程序")
            if(leftAngle12_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1542","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1542","1")
            }
            if(rightAngle12_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1543","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1543","1")
            }
            Cpp_Connect.write_modbus_rtu_Hold_F("1422",lg_Value12_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold_F("1462",lc_Value12_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold("1491",count12_Text.text)
            break;
        case 13:
            console.log("触发 第十三行 批量写入程序")
            if(leftAngle13_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1544","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1544","1")
            }
            if(rightAngle13_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1545","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1545","1")
            }
            Cpp_Connect.write_modbus_rtu_Hold_F("1424",lg_Value13_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold_F("1464",lc_Value13_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold("1492",count13_Text.text)
            break;
        case 14:
            console.log("触发 第十四行 批量写入程序")
            if(leftAngle14_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1546","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1546","1")
            }
            if(rightAngle14_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1547","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1547","1")
            }
            Cpp_Connect.write_modbus_rtu_Hold_F("1426",lg_Value14_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold_F("1466",lc_Value14_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold("1493",count14_Text.text)
            break;
        case 15:
            console.log("触发 第十五行 批量写入程序")
            if(leftAngle15_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1548","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1548","1")
            }
            if(rightAngle15_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1549","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1549","1")
            }
            Cpp_Connect.write_modbus_rtu_Hold_F("1428",lg_Value15_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold_F("1468",lc_Value15_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold("1494",count15_Text.text)
            break;
        case 16:
            console.log("触发 第十六行 批量写入程序")
            if(leftAngle16_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1550","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1550","1")
            }
            if(rightAngle16_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1551","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1551","1")
            }
            Cpp_Connect.write_modbus_rtu_Hold_F("1430",lg_Value16_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold_F("1470",lc_Value16_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold("1495",count16_Text.text)
            break;
        case 17:
            console.log("触发 第十七行 批量写入程序")
            if(leftAngle17_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1552","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1552","1")
            }
            if(rightAngle17_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1553","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1553","1")
            }
            Cpp_Connect.write_modbus_rtu_Hold_F("1432",lg_Value17_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold_F("1472",lc_Value17_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold("1496",count17_Text.text)
            break;
        case 18:
            console.log("触发 第十八行 批量写入程序")
            if(leftAngle18_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1554","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1554","1")
            }
            if(rightAngle18_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1555","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1555","1")
            }
            Cpp_Connect.write_modbus_rtu_Hold_F("1434",lg_Value18_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold_F("1474",lc_Value18_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold("1497",count18_Text.text)
            break;
        case 19:
            console.log("触发 第十九行 批量写入程序")
            if(leftAngle19_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1556","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1556","1")
            }
            if(rightAngle19_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1557","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1557","1")
            }
            Cpp_Connect.write_modbus_rtu_Hold_F("1436",lg_Value19_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold_F("1476",lc_Value19_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold("1498",count19_Text.text)
            break;
        case 20:
            console.log("触发 第二十行 批量写入程序")
            if(leftAngle20_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1558","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1558","1")
            }
            if(rightAngle20_Text.text === "45")
            {
                Cpp_Connect.write_modbus_rtu_Hold("1559","0")
            }
            else
            {
                Cpp_Connect.write_modbus_rtu_Hold("1559","1")
            }
            Cpp_Connect.write_modbus_rtu_Hold_F("1438",lg_Value20_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold_F("1478",lc_Value20_Text.text)
            Cpp_Connect.write_modbus_rtu_Hold("1499",count20_Text.text)
            break;
        default:
            break;
        }
    }



    Column{
        anchors.top: backGround.top
        anchors.topMargin: 130
        anchors.left: backGround.left
        anchors.leftMargin: 5
        Repeater{
            model :20

            Rectangle{
                width: 110
                height: 60

                Rectangle{
                    id:order
                    width: 110
                    height: 60
                    anchors.left: parent.left
                    anchors.verticalCenter: parent.verticalCenter
                    border.width: 1
                    border.color: "black"
                    color: focus ? "green" : "white"

                    Text {
                        anchors.centerIn: parent
                        font.pixelSize: 30
                        font.bold: true
                        text: (index+1)
                    }

                    // Timer{
                    //     id:writeTimer
                    //     interval: 100
                    //     repeat: false

                    //     onTriggered: {
                    //         console.log("触发一次定时")
                    //     }

                    // }

                    MouseArea{
                        anchors.fill: parent

                        onClicked: {
                            parent.forceActiveFocus()
                            Cpp_Connect.write_modbus_rtu_Hold("76",(index+1).toString())
                            writeParameterIntoPL(index+1)
                            Cpp_Connect.order_Clicked_Write_Data_Into_PLC();
                            // writeTimer.start()

                        }
                    }

                }                
            }
        }
    }

    Text{
        anchors.right: backGround.right
        anchors.rightMargin: 280
        anchors.top: backGround.top
        anchors.topMargin: 20
        font.pixelSize: 30
        color: "black"
        text:qsTr("当前为第")
    }
    Text{
        anchors.right: backGround.right
        anchors.rightMargin: 115
        anchors.top: backGround.top
        anchors.topMargin: 20
        font.pixelSize: 30
        color: "black"
        text:qsTr("页")
    }

    ComboBox{       // 扫码枪 - 校验位选择框
        id: packetNumber
        anchors.right: backGround.right
        anchors.rightMargin: 175
        anchors.top: backGround.top
        anchors.topMargin: 20
        width: 90
        height: 30
        model:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]
        currentIndex: 0

        contentItem: Text {     //界面上显示出来的文字
            leftPadding: 20      //左部填充为5
            text: packetNumber.displayText   //表示ComboBox上显示的文本
            font: packetNumber.font          //文字大小
            color: packetNumber.enabled ? "black" : "grey"   //packetNumber.pressed ?
            verticalAlignment: Text.AlignVCenter        //文字位置
        }

        background: Rectangle {   //背景项
            implicitWidth: 120
            implicitHeight: 30
            property string sColor: packetNumber.enabled ? "white" : "lightgrey"
            color: packetNumber.pressed ? Qt.darker(sColor, 1.2) : sColor
            border.width: 1
            border.color: "lightgrey"
            radius: 0
        }


        onActivated: {
            parent.forceActiveFocus()
            Cpp_PLProcess.getParameterByPacket(currentIndex)
            Cpp_Connect.write_modbus_rtu_Coils("142","1")
            Cpp_Connect.write_modbus_rtu_Coils("142","0")
        }
    }



    ///////////////  第一行 数据  ////////////////////////

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 115
        anchors.top: backGround.top
        anchors.topMargin: 130
        width: 140
        height: 60
        border.width: 1

        Text{
            id:leftAngle01_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LeftAngle01
            color: Cpp_PLProcess.LeftAngle01 === "45" ? "black" : Cpp_PLProcess.LeftAngle01 === "90" ? "red" : "black"
        }        

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.LeftAngle01 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 1),"LeftAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.LeftAngle01 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 1),"LeftAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 255
        anchors.top: backGround.top
        anchors.topMargin: 130
        width: 140
        height: 60
        border.width: 1

        Text{
            id:rightAngle01_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.RightAngle01
            color: Cpp_PLProcess.RightAngle01 === "45" ? "black" : Cpp_PLProcess.RightAngle01 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.RightAngle01 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 1),"RightAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.RightAngle01 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 1),"RightAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }


    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 395
        anchors.top: backGround.top
        anchors.topMargin: 130
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lg_Value01_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LG_Value01
        }

        TextInput{
            id:lg_Value01_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 1),"LG_VALUE",lg_Value01_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lg_Value01_Text.visible = true
                lg_Value01_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lg_Value01_Input.forceActiveFocus()
                lg_Value01_Input.text = lg_Value01_Text.text
                lg_Value01_Input.visible = true
                lg_Value01_Text.visible = false
                lg_Value01_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 565
        anchors.top: backGround.top
        anchors.topMargin: 130
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lc_Value01_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LC_Value01
        }

        TextInput{
            id:lc_Value01_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 1),"LC_VALUE",lc_Value01_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lc_Value01_Text.visible = true
                lc_Value01_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lc_Value01_Input.forceActiveFocus()
                lc_Value01_Input.text = lc_Value01_Text.text
                lc_Value01_Input.visible = true
                lc_Value01_Text.visible = false
                lc_Value01_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 735
        anchors.top: backGround.top
        anchors.topMargin: 130
        width: 170
        height: 60
        border.width: 1

        Text{
            id:count01_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.Count01
        }

        TextInput{
            id:count01_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 1),"Count",count01_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                count01_Text.visible = true
                count01_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                count01_Input.forceActiveFocus()
                count01_Input.text = count01_Text.text
                count01_Input.visible = true
                count01_Text.visible = false
                count01_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 905
        anchors.top: backGround.top
        anchors.topMargin: 130
        width: 170
        height: 60
        border.width: 1

        Text{
            id:workedCount01_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.workedCount01_PL
        }

    }

    ///////////////  第二行 数据  ////////////////////////

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 115
        anchors.top: backGround.top
        anchors.topMargin: 190
        width: 140
        height: 60
        border.width: 1

        Text{
            id:leftAngle02_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LeftAngle02
            color: Cpp_PLProcess.LeftAngle02 === "45" ? "black" : Cpp_PLProcess.LeftAngle02 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.LeftAngle02 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 2),"LeftAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.LeftAngle02 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 2),"LeftAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }


    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 255
        anchors.top: backGround.top
        anchors.topMargin: 190
        width: 140
        height: 60
        border.width: 1

        Text{
            id:rightAngle02_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.RightAngle02
            color: Cpp_PLProcess.RightAngle02 === "45" ? "black" : Cpp_PLProcess.RightAngle02 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.RightAngle02 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 2),"RightAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.RightAngle02 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 2),"RightAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }
    }


    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 395
        anchors.top: backGround.top
        anchors.topMargin: 190
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lg_Value02_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LG_Value02
        }

        TextInput{
            id:lg_Value02_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 2),"LG_VALUE",lg_Value02_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lg_Value02_Text.visible = true
                lg_Value02_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lg_Value02_Input.forceActiveFocus()
                lg_Value02_Input.text = lg_Value02_Text.text
                lg_Value02_Input.visible = true
                lg_Value02_Text.visible = false
                lg_Value02_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 565
        anchors.top: backGround.top
        anchors.topMargin: 190
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lc_Value02_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LC_Value02
        }

        TextInput{
            id:lc_Value02_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 2),"LC_VALUE",lc_Value02_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lc_Value02_Text.visible = true
                lc_Value02_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lc_Value02_Input.forceActiveFocus()
                lc_Value02_Input.text = lc_Value02_Text.text
                lc_Value02_Input.visible = true
                lc_Value02_Text.visible = false
                lc_Value02_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 735
        anchors.top: backGround.top
        anchors.topMargin: 190
        width: 170
        height: 60
        border.width: 1

        Text{
            id:count02_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.Count02
        }

        TextInput{
            id:count02_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 2),"Count",count02_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                count02_Text.visible = true
                count02_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                count02_Input.forceActiveFocus()
                count02_Input.text = count02_Text.text
                count02_Input.visible = true
                count02_Text.visible = false
                count02_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 905
        anchors.top: backGround.top
        anchors.topMargin: 190
        width: 170
        height: 60
        border.width: 1

        Text{
            id:workedCount02_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.workedCount02_PL
        }

    }
    ///////////////  第三行 数据  ////////////////////////

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 115
        anchors.top: backGround.top
        anchors.topMargin: 250
        width: 140
        height: 60
        border.width: 1

        Text{
            id:leftAngle03_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LeftAngle03
            color: Cpp_PLProcess.LeftAngle03 === "45" ? "black" : Cpp_PLProcess.LeftAngle03 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.LeftAngle03 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 3),"LeftAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.LeftAngle03 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 3),"LeftAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }


    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 255
        anchors.top: backGround.top
        anchors.topMargin: 250
        width: 140
        height: 60
        border.width: 1

        Text{
            id:rightAngle03_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.RightAngle03
            color: Cpp_PLProcess.RightAngle03 === "45" ? "black" : Cpp_PLProcess.RightAngle03 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.RightAngle03 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 3),"RightAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.RightAngle03 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 3),"RightAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 395
        anchors.top: backGround.top
        anchors.topMargin: 250
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lg_Value03_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LG_Value03
        }

        TextInput{
            id:lg_Value03_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 3),"LG_VALUE",lg_Value03_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lg_Value03_Text.visible = true
                lg_Value03_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lg_Value03_Input.forceActiveFocus()
                lg_Value03_Input.text = lg_Value03_Text.text
                lg_Value03_Input.visible = true
                lg_Value03_Text.visible = false
                lg_Value03_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 565
        anchors.top: backGround.top
        anchors.topMargin: 250
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lc_Value03_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LC_Value03
        }

        TextInput{
            id:lc_Value03_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 3),"LC_VALUE",lc_Value03_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lc_Value03_Text.visible = true
                lc_Value03_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lc_Value03_Input.forceActiveFocus()
                lc_Value03_Input.text = lc_Value03_Text.text
                lc_Value03_Input.visible = true
                lc_Value03_Text.visible = false
                lc_Value03_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 735
        anchors.top: backGround.top
        anchors.topMargin: 250
        width: 170
        height: 60
        border.width: 1

        Text{
            id:count03_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.Count03
        }

        TextInput{
            id:count03_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 3),"Count",count03_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                count03_Text.visible = true
                count03_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                count03_Input.forceActiveFocus()
                count03_Input.text = count03_Text.text
                count03_Input.visible = true
                count03_Text.visible = false
                count03_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 905
        anchors.top: backGround.top
        anchors.topMargin: 250
        width: 170
        height: 60
        border.width: 1

        Text{
            id:workedCount03_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.workedCount03_PL
        }

    }
    ///////////////  第四行 数据  ////////////////////////

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 115
        anchors.top: backGround.top
        anchors.topMargin: 310
        width: 140
        height: 60
        border.width: 1

        Text{
            id:leftAngle04_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LeftAngle04
            color: Cpp_PLProcess.LeftAngle04 === "45" ? "black" : Cpp_PLProcess.LeftAngle04 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.LeftAngle04 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 4),"LeftAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.LeftAngle04 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 4),"LeftAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }


    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 255
        anchors.top: backGround.top
        anchors.topMargin: 310
        width: 140
        height: 60
        border.width: 1

        Text{
            id:rightAngle04_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.RightAngle04
            color: Cpp_PLProcess.RightAngle04 === "45" ? "black" : Cpp_PLProcess.RightAngle04 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.RightAngle04 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 4),"RightAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.RightAngle04 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 4),"RightAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 395
        anchors.top: backGround.top
        anchors.topMargin: 310
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lg_Value04_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LG_Value04
        }

        TextInput{
            id:lg_Value04_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 4),"LG_VALUE",lg_Value04_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lg_Value04_Text.visible = true
                lg_Value04_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lg_Value04_Input.forceActiveFocus()
                lg_Value04_Input.text = lg_Value04_Text.text
                lg_Value04_Input.visible = true
                lg_Value04_Text.visible = false
                lg_Value04_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 565
        anchors.top: backGround.top
        anchors.topMargin: 310
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lc_Value04_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LC_Value04
        }

        TextInput{
            id:lc_Value04_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 4),"LC_VALUE",lc_Value04_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lc_Value04_Text.visible = true
                lc_Value04_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lc_Value04_Input.forceActiveFocus()
                lc_Value04_Input.text = lc_Value04_Text.text
                lc_Value04_Input.visible = true
                lc_Value04_Text.visible = false
                lc_Value04_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 735
        anchors.top: backGround.top
        anchors.topMargin: 310
        width: 170
        height: 60
        border.width: 1

        Text{
            id:count04_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.Count04
        }

        TextInput{
            id:count04_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 4),"Count",count04_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                count04_Text.visible = true
                count04_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                count04_Input.forceActiveFocus()
                count04_Input.text = count04_Text.text
                count04_Input.visible = true
                count04_Text.visible = false
                count04_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 905
        anchors.top: backGround.top
        anchors.topMargin: 310
        width: 170
        height: 60
        border.width: 1

        Text{
            id:workedCount04_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.workedCount04_PL
        }

    }
    ///////////////  第五行 数据  ////////////////////////

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 115
        anchors.top: backGround.top
        anchors.topMargin: 370
        width: 140
        height: 60
        border.width: 1

        Text{
            id:leftAngle05_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LeftAngle05
            color: Cpp_PLProcess.LeftAngle05 === "45" ? "black" : Cpp_PLProcess.LeftAngle05 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.LeftAngle05 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 5),"LeftAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.LeftAngle05 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 5),"LeftAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }


    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 255
        anchors.top: backGround.top
        anchors.topMargin: 370
        width: 140
        height: 60
        border.width: 1

        Text{
            id:rightAngle05_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.RightAngle05
            color: Cpp_PLProcess.RightAngle05 === "45" ? "black" : Cpp_PLProcess.RightAngle05 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.RightAngle05 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 5),"RightAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.RightAngle05 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 5),"RightAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 395
        anchors.top: backGround.top
        anchors.topMargin: 370
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lg_Value05_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LG_Value05
        }

        TextInput{
            id:lg_Value05_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 5),"LG_VALUE",lg_Value05_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lg_Value05_Text.visible = true
                lg_Value05_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lg_Value05_Input.forceActiveFocus()
                lg_Value05_Input.text = lg_Value05_Text.text
                lg_Value05_Input.visible = true
                lg_Value05_Text.visible = false
                lg_Value05_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 565
        anchors.top: backGround.top
        anchors.topMargin: 370
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lc_Value05_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LC_Value05
        }

        TextInput{
            id:lc_Value05_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 5),"LC_VALUE",lc_Value05_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lc_Value05_Text.visible = true
                lc_Value05_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lc_Value05_Input.forceActiveFocus()
                lc_Value05_Input.text = lc_Value05_Text.text
                lc_Value05_Input.visible = true
                lc_Value05_Text.visible = false
                lc_Value05_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 735
        anchors.top: backGround.top
        anchors.topMargin: 370
        width: 170
        height: 60
        border.width: 1

        Text{
            id:count05_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.Count05
        }

        TextInput{
            id:count05_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 5),"Count",count05_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                count05_Text.visible = true
                count05_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                count05_Input.forceActiveFocus()
                count05_Input.text = count05_Text.text
                count05_Input.visible = true
                count05_Text.visible = false
                count05_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 905
        anchors.top: backGround.top
        anchors.topMargin: 370
        width: 170
        height: 60
        border.width: 1

        Text{
            id:workedCount05_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.workedCount05_PL
        }

    }
    ///////////////  第六行 数据  ////////////////////////

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 115
        anchors.top: backGround.top
        anchors.topMargin: 430
        width: 140
        height: 60
        border.width: 1

        Text{
            id:leftAngle06_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LeftAngle06
            color: Cpp_PLProcess.LeftAngle06 === "45" ? "black" : Cpp_PLProcess.LeftAngle06 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.LeftAngle06 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 6),"LeftAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.LeftAngle06 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 6),"LeftAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }


    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 255
        anchors.top: backGround.top
        anchors.topMargin: 430
        width: 140
        height: 60
        border.width: 1

        Text{
            id:rightAngle06_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.RightAngle06
            color: Cpp_PLProcess.RightAngle06 === "45" ? "black" : Cpp_PLProcess.RightAngle06 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.RightAngle06 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 6),"RightAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.RightAngle06 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 6),"RightAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 395
        anchors.top: backGround.top
        anchors.topMargin: 430
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lg_Value06_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LG_Value06
        }

        TextInput{
            id:lg_Value06_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 6),"LG_VALUE",lg_Value06_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lg_Value06_Text.visible = true
                lg_Value06_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lg_Value06_Input.forceActiveFocus()
                lg_Value06_Input.text = lg_Value06_Text.text
                lg_Value06_Input.visible = true
                lg_Value06_Text.visible = false
                lg_Value06_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 565
        anchors.top: backGround.top
        anchors.topMargin: 430
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lc_Value06_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LC_Value06
        }

        TextInput{
            id:lc_Value06_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 6),"LC_VALUE",lc_Value06_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lc_Value06_Text.visible = true
                lc_Value06_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lc_Value06_Input.forceActiveFocus()
                lc_Value06_Input.text = lc_Value06_Text.text
                lc_Value06_Input.visible = true
                lc_Value06_Text.visible = false
                lc_Value06_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 735
        anchors.top: backGround.top
        anchors.topMargin: 430
        width: 170
        height: 60
        border.width: 1

        Text{
            id:count06_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.Count06
        }

        TextInput{
            id:count06_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 6),"Count",count06_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                count06_Text.visible = true
                count06_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                count06_Input.forceActiveFocus()
                count06_Input.text = count06_Text.text
                count06_Input.visible = true
                count06_Text.visible = false
                count06_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 905
        anchors.top: backGround.top
        anchors.topMargin: 430
        width: 170
        height: 60
        border.width: 1

        Text{
            id:workedCount06_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.workedCount06_PL
        }

    }
    ///////////////  第七行 数据  ////////////////////////

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 115
        anchors.top: backGround.top
        anchors.topMargin: 490
        width: 140
        height: 60
        border.width: 1

        Text{
            id:leftAngle07_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LeftAngle07
            color: Cpp_PLProcess.LeftAngle07 === "45" ? "black" : Cpp_PLProcess.LeftAngle07 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.LeftAngle07 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 7),"LeftAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.LeftAngle07 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 7),"LeftAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }
    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 255
        anchors.top: backGround.top
        anchors.topMargin: 490
        width: 140
        height: 60
        border.width: 1

        Text{
            id:rightAngle07_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.RightAngle07
            color: Cpp_PLProcess.RightAngle07 === "45" ? "black" : Cpp_PLProcess.RightAngle07 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.RightAngle07 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 7),"RightAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.RightAngle07 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 7),"RightAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 395
        anchors.top: backGround.top
        anchors.topMargin: 490
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lg_Value07_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LG_Value07
        }

        TextInput{
            id:lg_Value07_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 7),"LG_VALUE",lg_Value07_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lg_Value07_Text.visible = true
                lg_Value07_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lg_Value07_Input.forceActiveFocus()
                lg_Value07_Input.text = lg_Value07_Text.text
                lg_Value07_Input.visible = true
                lg_Value07_Text.visible = false
                lg_Value07_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 565
        anchors.top: backGround.top
        anchors.topMargin: 490
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lc_Value07_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LC_Value07
        }

        TextInput{
            id:lc_Value07_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 7),"LC_VALUE",lc_Value07_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lc_Value07_Text.visible = true
                lc_Value07_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lc_Value07_Input.forceActiveFocus()
                lc_Value07_Input.text = lc_Value07_Text.text
                lc_Value07_Input.visible = true
                lc_Value07_Text.visible = false
                lc_Value07_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 735
        anchors.top: backGround.top
        anchors.topMargin: 490
        width: 170
        height: 60
        border.width: 1

        Text{
            id:count07_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.Count07
        }

        TextInput{
            id:count07_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 7),"Count",count07_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                count07_Text.visible = true
                count07_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                count07_Input.forceActiveFocus()
                count07_Input.text = count07_Text.text
                count07_Input.visible = true
                count07_Text.visible = false
                count07_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 905
        anchors.top: backGround.top
        anchors.topMargin: 490
        width: 170
        height: 60
        border.width: 1

        Text{
            id:workedCount07_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.workedCount07_PL
        }

    }
    ///////////////  第八行 数据  ////////////////////////

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 115
        anchors.top: backGround.top
        anchors.topMargin: 550
        width: 140
        height: 60
        border.width: 1

        Text{
            id:leftAngle08_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LeftAngle08
            color: Cpp_PLProcess.LeftAngle08 === "45" ? "black" : Cpp_PLProcess.LeftAngle08 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.LeftAngle08 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 8),"LeftAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.LeftAngle08 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 8),"LeftAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }


    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 255
        anchors.top: backGround.top
        anchors.topMargin: 550
        width: 140
        height: 60
        border.width: 1

        Text{
            id:rightAngle08_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.RightAngle08
            color: Cpp_PLProcess.RightAngle08 === "45" ? "black" : Cpp_PLProcess.RightAngle08 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.RightAngle08 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 8),"RightAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.RightAngle08 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 8),"RightAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 395
        anchors.top: backGround.top
        anchors.topMargin: 550
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lg_Value08_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LG_Value08
        }

        TextInput{
            id:lg_Value08_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 8),"LG_VALUE",lg_Value08_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lg_Value08_Text.visible = true
                lg_Value08_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lg_Value08_Input.forceActiveFocus()
                lg_Value08_Input.text = lg_Value08_Text.text
                lg_Value08_Input.visible = true
                lg_Value08_Text.visible = false
                lg_Value08_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 565
        anchors.top: backGround.top
        anchors.topMargin: 550
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lc_Value08_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LC_Value08
        }

        TextInput{
            id:lc_Value08_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 8),"LC_VALUE",lc_Value08_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lc_Value08_Text.visible = true
                lc_Value08_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lc_Value08_Input.forceActiveFocus()
                lc_Value08_Input.text = lc_Value08_Text.text
                lc_Value08_Input.visible = true
                lc_Value08_Text.visible = false
                lc_Value08_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 735
        anchors.top: backGround.top
        anchors.topMargin: 550
        width: 170
        height: 60
        border.width: 1

        Text{
            id:count08_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.Count08
        }

        TextInput{
            id:count08_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 8),"Count",count08_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                count08_Text.visible = true
                count08_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                count08_Input.forceActiveFocus()
                count08_Input.text = count08_Text.text
                count08_Input.visible = true
                count08_Text.visible = false
                count08_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 905
        anchors.top: backGround.top
        anchors.topMargin: 550
        width: 170
        height: 60
        border.width: 1

        Text{
            id:workedCount08_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.workedCount08_PL
        }

    }
    ///////////////  第九行 数据  ////////////////////////

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 115
        anchors.top: backGround.top
        anchors.topMargin: 610
        width: 140
        height: 60
        border.width: 1

        Text{
            id:leftAngle09_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LeftAngle09
            color: Cpp_PLProcess.LeftAngle09 === "45" ? "black" : Cpp_PLProcess.LeftAngle09 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.LeftAngle09 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 9),"LeftAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.LeftAngle09 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 9),"LeftAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }


    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 255
        anchors.top: backGround.top
        anchors.topMargin: 610
        width: 140
        height: 60
        border.width: 1

        Text{
            id:rightAngle09_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.RightAngle09
            color: Cpp_PLProcess.RightAngle09 === "45" ? "black" : Cpp_PLProcess.RightAngle09 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.RightAngle09 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 9),"RightAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.RightAngle09 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 9),"RightAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 395
        anchors.top: backGround.top
        anchors.topMargin: 610
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lg_Value09_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LG_Value09
        }

        TextInput{
            id:lg_Value09_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 9),"LG_VALUE",lg_Value09_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lg_Value09_Text.visible = true
                lg_Value09_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lg_Value09_Input.forceActiveFocus()
                lg_Value09_Input.text = lg_Value09_Text.text
                lg_Value09_Input.visible = true
                lg_Value09_Text.visible = false
                lg_Value09_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 565
        anchors.top: backGround.top
        anchors.topMargin: 610
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lc_Value09_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LC_Value09
        }

        TextInput{
            id:lc_Value09_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 9),"LC_VALUE",lc_Value09_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lc_Value09_Text.visible = true
                lc_Value09_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lc_Value09_Input.forceActiveFocus()
                lc_Value09_Input.text = lc_Value09_Text.text
                lc_Value09_Input.visible = true
                lc_Value09_Text.visible = false
                lc_Value09_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 735
        anchors.top: backGround.top
        anchors.topMargin: 610
        width: 170
        height: 60
        border.width: 1

        Text{
            id:count09_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.Count09
        }

        TextInput{
            id:count09_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 9),"Count",count09_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                count09_Text.visible = true
                count09_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                count09_Input.forceActiveFocus()
                count09_Input.text = count09_Text.text
                count09_Input.visible = true
                count09_Text.visible = false
                count09_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 905
        anchors.top: backGround.top
        anchors.topMargin: 610
        width: 170
        height: 60
        border.width: 1

        Text{
            id:workedCount09_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.workedCount09_PL
        }

    }
    ///////////////  第十行 数据  ////////////////////////

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 115
        anchors.top: backGround.top
        anchors.topMargin: 670
        width: 140
        height: 60
        border.width: 1

        Text{
            id:leftAngle10_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LeftAngle10
            color: Cpp_PLProcess.LeftAngle10 === "45" ? "black" : Cpp_PLProcess.LeftAngle10 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.LeftAngle10 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 10),"LeftAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.LeftAngle10 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 10),"LeftAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }


    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 255
        anchors.top: backGround.top
        anchors.topMargin: 670
        width: 140
        height: 60
        border.width: 1

        Text{
            id:rightAngle10_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.RightAngle10
            color: Cpp_PLProcess.RightAngle10 === "45" ? "black" : Cpp_PLProcess.RightAngle10 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.RightAngle10 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 10),"RightAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.RightAngle10 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 10),"RightAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 395
        anchors.top: backGround.top
        anchors.topMargin: 670
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lg_Value10_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LG_Value10
        }

        TextInput{
            id:lg_Value10_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 10),"LG_VALUE",lg_Value10_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lg_Value10_Text.visible = true
                lg_Value10_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lg_Value10_Input.forceActiveFocus()
                lg_Value10_Input.text = lg_Value10_Text.text
                lg_Value10_Input.visible = true
                lg_Value10_Text.visible = false
                lg_Value10_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 565
        anchors.top: backGround.top
        anchors.topMargin: 670
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lc_Value10_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LC_Value10
        }

        TextInput{
            id:lc_Value10_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 10),"LC_VALUE",lc_Value10_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lc_Value10_Text.visible = true
                lc_Value10_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lc_Value10_Input.forceActiveFocus()
                lc_Value10_Input.text = lc_Value10_Text.text
                lc_Value10_Input.visible = true
                lc_Value10_Text.visible = false
                lc_Value10_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 735
        anchors.top: backGround.top
        anchors.topMargin: 670
        width: 170
        height: 60
        border.width: 1

        Text{
            id:count10_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.Count10
        }

        TextInput{
            id:count10_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 10),"Count",count10_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                count10_Text.visible = true
                count10_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                count10_Input.forceActiveFocus()
                count10_Input.text = count10_Text.text
                count10_Input.visible = true
                count10_Text.visible = false
                count10_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 905
        anchors.top: backGround.top
        anchors.topMargin: 670
        width: 170
        height: 60
        border.width: 1

        Text{
            id:workedCount10_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.workedCount10_PL
        }

    }
    ///////////////  第十一行 数据  ////////////////////////

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 115
        anchors.top: backGround.top
        anchors.topMargin: 730
        width: 140
        height: 60
        border.width: 1

        Text{
            id:leftAngle11_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LeftAngle11
            color: Cpp_PLProcess.LeftAngle11 === "45" ? "black" : Cpp_PLProcess.LeftAngle11 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.LeftAngle11 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 11),"LeftAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.LeftAngle11 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 11),"LeftAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }


    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 255
        anchors.top: backGround.top
        anchors.topMargin: 730
        width: 140
        height: 60
        border.width: 1

        Text{
            id:rightAngle11_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.RightAngle11
            color: Cpp_PLProcess.RightAngle11 === "45" ? "black" : Cpp_PLProcess.RightAngle11 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.RightAngle11 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 11),"RightAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.RightAngle11 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 11),"RightAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 395
        anchors.top: backGround.top
        anchors.topMargin: 730
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lg_Value11_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LG_Value11
        }

        TextInput{
            id:lg_Value11_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 11),"LG_VALUE",lg_Value11_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lg_Value11_Text.visible = true
                lg_Value11_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lg_Value11_Input.forceActiveFocus()
                lg_Value11_Input.text = lg_Value11_Text.text
                lg_Value11_Input.visible = true
                lg_Value11_Text.visible = false
                lg_Value11_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 565
        anchors.top: backGround.top
        anchors.topMargin: 730
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lc_Value11_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LC_Value11
        }

        TextInput{
            id:lc_Value11_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 11),"LC_VALUE",lc_Value11_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lc_Value11_Text.visible = true
                lc_Value11_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lc_Value11_Input.forceActiveFocus()
                lc_Value11_Input.text = lc_Value11_Text.text
                lc_Value11_Input.visible = true
                lc_Value11_Text.visible = false
                lc_Value11_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 735
        anchors.top: backGround.top
        anchors.topMargin: 730
        width: 170
        height: 60
        border.width: 1

        Text{
            id:count11_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.Count11
        }

        TextInput{
            id:count11_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 11),"Count",count11_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                count11_Text.visible = true
                count11_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                count11_Input.forceActiveFocus()
                count11_Input.text = count11_Text.text
                count11_Input.visible = true
                count11_Text.visible = false
                count11_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 905
        anchors.top: backGround.top
        anchors.topMargin: 730
        width: 170
        height: 60
        border.width: 1

        Text{
            id:workedCount11_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.workedCount11_PL
        }

    }
    ///////////////  第十二行 数据  ////////////////////////

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 115
        anchors.top: backGround.top
        anchors.topMargin: 790
        width: 140
        height: 60
        border.width: 1

        Text{
            id:leftAngle12_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LeftAngle12
            color: Cpp_PLProcess.LeftAngle12 === "45" ? "black" : Cpp_PLProcess.LeftAngle12 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.LeftAngle12 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 12),"LeftAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.LeftAngle12 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 12),"LeftAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }


    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 255
        anchors.top: backGround.top
        anchors.topMargin: 790
        width: 140
        height: 60
        border.width: 1

        Text{
            id:rightAngle12_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.RightAngle12
            color: Cpp_PLProcess.RightAngle12 === "45" ? "black" : Cpp_PLProcess.RightAngle12 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.RightAngle12 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 12),"RightAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.RightAngle12 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 12),"RightAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 395
        anchors.top: backGround.top
        anchors.topMargin: 790
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lg_Value12_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LG_Value12
        }

        TextInput{
            id:lg_Value12_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 12),"LG_VALUE",lg_Value12_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lg_Value12_Text.visible = true
                lg_Value12_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lg_Value12_Input.forceActiveFocus()
                lg_Value12_Input.text = lg_Value12_Text.text
                lg_Value12_Input.visible = true
                lg_Value12_Text.visible = false
                lg_Value12_Input.selectAll()
            }
        }

    }


    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 565
        anchors.top: backGround.top
        anchors.topMargin: 790
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lc_Value12_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LC_Value12
        }

        TextInput{
            id:lc_Value12_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 12),"LC_VALUE",lc_Value12_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lc_Value12_Text.visible = true
                lc_Value12_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lc_Value12_Input.forceActiveFocus()
                lc_Value12_Input.text = lc_Value12_Text.text
                lc_Value12_Input.visible = true
                lc_Value12_Text.visible = false
                lc_Value12_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 735
        anchors.top: backGround.top
        anchors.topMargin: 790
        width: 170
        height: 60
        border.width: 1

        Text{
            id:count12_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.Count12
        }

        TextInput{
            id:count12_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 12),"Count",count12_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                count12_Text.visible = true
                count12_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                count12_Input.forceActiveFocus()
                count12_Input.text = count12_Text.text
                count12_Input.visible = true
                count12_Text.visible = false
                count12_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 905
        anchors.top: backGround.top
        anchors.topMargin: 790
        width: 170
        height: 60
        border.width: 1

        Text{
            id:workedCount12_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.workedCount12_PL
        }

    }
    ///////////////  第十三行 数据  ////////////////////////

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 115
        anchors.top: backGround.top
        anchors.topMargin: 850
        width: 140
        height: 60
        border.width: 1

        Text{
            id:leftAngle13_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LeftAngle13
            color: Cpp_PLProcess.LeftAngle13 === "45" ? "black" : Cpp_PLProcess.LeftAngle13 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.LeftAngle13 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 13),"LeftAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.LeftAngle13 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 13),"LeftAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }


    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 255
        anchors.top: backGround.top
        anchors.topMargin: 850
        width: 140
        height: 60
        border.width: 1

        Text{
            id:rightAngle13_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.RightAngle13
            color: Cpp_PLProcess.RightAngle13 === "45" ? "black" : Cpp_PLProcess.RightAngle13 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.RightAngle13 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 13),"RightAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.RightAngle13 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 13),"RightAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 395
        anchors.top: backGround.top
        anchors.topMargin: 850
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lg_Value13_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LG_Value13
        }

        TextInput{
            id:lg_Value13_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 13),"LG_VALUE",lg_Value13_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lg_Value13_Text.visible = true
                lg_Value13_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lg_Value13_Input.forceActiveFocus()
                lg_Value13_Input.text = lg_Value13_Text.text
                lg_Value13_Input.visible = true
                lg_Value13_Text.visible = false
                lg_Value13_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 565
        anchors.top: backGround.top
        anchors.topMargin: 850
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lc_Value13_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LC_Value13
        }

        TextInput{
            id:lc_Value13_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 13),"LC_VALUE",lc_Value13_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lc_Value13_Text.visible = true
                lc_Value13_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lc_Value13_Input.forceActiveFocus()
                lc_Value13_Input.text = lc_Value13_Text.text
                lc_Value13_Input.visible = true
                lc_Value13_Text.visible = false
                lc_Value13_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 735
        anchors.top: backGround.top
        anchors.topMargin: 850
        width: 170
        height: 60
        border.width: 1

        Text{
            id:count13_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.Count13
        }

        TextInput{
            id:count13_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 13),"Count",count13_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                count13_Text.visible = true
                count13_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                count13_Input.forceActiveFocus()
                count13_Input.text = count13_Text.text
                count13_Input.visible = true
                count13_Text.visible = false
                count13_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 905
        anchors.top: backGround.top
        anchors.topMargin: 850
        width: 170
        height: 60
        border.width: 1

        Text{
            id:workedCount13_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.workedCount13_PL
        }

    }
    ///////////////  第十四行 数据  ////////////////////////

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 115
        anchors.top: backGround.top
        anchors.topMargin: 910
        width: 140
        height: 60
        border.width: 1

        Text{
            id:leftAngle14_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LeftAngle14
            color: Cpp_PLProcess.LeftAngle14 === "45" ? "black" : Cpp_PLProcess.LeftAngle14 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.LeftAngle14 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 14),"LeftAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.LeftAngle14 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 14),"LeftAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }



    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 255
        anchors.top: backGround.top
        anchors.topMargin: 910
        width: 140
        height: 60
        border.width: 1

        Text{
            id:rightAngle14_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.RightAngle14
            color: Cpp_PLProcess.RightAngle14 === "45" ? "black" : Cpp_PLProcess.RightAngle14 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.RightAngle14 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 14),"RightAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.RightAngle14 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 14),"RightAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 395
        anchors.top: backGround.top
        anchors.topMargin: 910
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lg_Value14_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LG_Value14
        }

        TextInput{
            id:lg_Value14_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 14),"LG_VALUE",lg_Value14_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lg_Value14_Text.visible = true
                lg_Value14_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lg_Value14_Input.forceActiveFocus()
                lg_Value14_Input.text = lg_Value14_Text.text
                lg_Value14_Input.visible = true
                lg_Value14_Text.visible = false
                lg_Value14_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 565
        anchors.top: backGround.top
        anchors.topMargin: 910
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lc_Value14_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LC_Value14
        }

        TextInput{
            id:lc_Value14_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 14),"LC_VALUE",lc_Value14_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lc_Value14_Text.visible = true
                lc_Value14_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lc_Value14_Input.forceActiveFocus()
                lc_Value14_Input.text = lc_Value14_Text.text
                lc_Value14_Input.visible = true
                lc_Value14_Text.visible = false
                lc_Value14_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 735
        anchors.top: backGround.top
        anchors.topMargin: 910
        width: 170
        height: 60
        border.width: 1

        Text{
            id:count14_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.Count14
        }

        TextInput{
            id:count14_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 14),"Count",count14_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                count14_Text.visible = true
                count14_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                count14_Input.forceActiveFocus()
                count14_Input.text = count14_Text.text
                count14_Input.visible = true
                count14_Text.visible = false
                count14_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 905
        anchors.top: backGround.top
        anchors.topMargin: 910
        width: 170
        height: 60
        border.width: 1

        Text{
            id:workedCount14_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.workedCount14_PL
        }

    }
    ///////////////  第十五行 数据  ////////////////////////

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 115
        anchors.top: backGround.top
        anchors.topMargin: 970
        width: 140
        height: 60
        border.width: 1

        Text{
            id:leftAngle15_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LeftAngle15
            color: Cpp_PLProcess.LeftAngle15 === "45" ? "black" : Cpp_PLProcess.LeftAngle15 === "90" ? "red" : "black"
        }

    MouseArea{
        anchors.fill: parent

        onClicked: {
            parent.forceActiveFocus()
            if(Cpp_PLProcess.LeftAngle15 === "45")
            {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 15),"LeftAngle","90")
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
            }
            else if(Cpp_PLProcess.LeftAngle15 === "90")
            {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 15),"LeftAngle","45")
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
            }
        }
    }


    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 255
        anchors.top: backGround.top
        anchors.topMargin: 970
        width: 140
        height: 60
        border.width: 1

        Text{
            id:rightAngle15_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.RightAngle15
            color: Cpp_PLProcess.RightAngle15 === "45" ? "black" : Cpp_PLProcess.RightAngle15 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.RightAngle15 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 15),"RightAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.RightAngle15 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 15),"RightAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 395
        anchors.top: backGround.top
        anchors.topMargin: 970
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lg_Value15_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LG_Value15
        }

        TextInput{
            id:lg_Value15_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 15),"LG_VALUE",lg_Value15_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lg_Value15_Text.visible = true
                lg_Value15_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lg_Value15_Input.forceActiveFocus()
                lg_Value15_Input.text = lg_Value15_Text.text
                lg_Value15_Input.visible = true
                lg_Value15_Text.visible = false
                lg_Value15_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 565
        anchors.top: backGround.top
        anchors.topMargin: 970
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lc_Value15_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LC_Value15
        }

        TextInput{
            id:lc_Value15_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 15),"LC_VALUE",lc_Value15_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lc_Value15_Text.visible = true
                lc_Value15_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lc_Value15_Input.forceActiveFocus()
                lc_Value15_Input.text = lc_Value15_Text.text
                lc_Value15_Input.visible = true
                lc_Value15_Text.visible = false
                lc_Value15_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 735
        anchors.top: backGround.top
        anchors.topMargin: 970
        width: 170
        height: 60
        border.width: 1

        Text{
            id:count15_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.Count15
        }

        TextInput{
            id:count15_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 15),"Count",count15_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                count15_Text.visible = true
                count15_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                count15_Input.forceActiveFocus()
                count15_Input.text = count15_Text.text
                count15_Input.visible = true
                count15_Text.visible = false
                count15_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 905
        anchors.top: backGround.top
        anchors.topMargin: 970
        width: 170
        height: 60
        border.width: 1

        Text{
            id:workedCount15_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.workedCount15_PL
        }

    }
    ///////////////  第十六行 数据  ////////////////////////

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 115
        anchors.top: backGround.top
        anchors.topMargin: 1030
        width: 140
        height: 60
        border.width: 1

        Text{
            id:leftAngle16_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LeftAngle16
            color: Cpp_PLProcess.LeftAngle16 === "45" ? "black" : Cpp_PLProcess.LeftAngle16 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.LeftAngle16 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 16),"LeftAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.LeftAngle16 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 16),"LeftAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }


    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 255
        anchors.top: backGround.top
        anchors.topMargin: 1030
        width: 140
        height: 60
        border.width: 1

        Text{
            id:rightAngle16_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.RightAngle16
            color: Cpp_PLProcess.RightAngle16 === "45" ? "black" : Cpp_PLProcess.RightAngle16 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.RightAngle16 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 16),"RightAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.RightAngle16 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 16),"RightAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 395
        anchors.top: backGround.top
        anchors.topMargin: 1030
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lg_Value16_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LG_Value16
        }

        TextInput{
            id:lg_Value16_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 16),"LG_VALUE",lg_Value16_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lg_Value16_Text.visible = true
                lg_Value16_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lg_Value16_Input.forceActiveFocus()
                lg_Value16_Input.text = lg_Value16_Text.text
                lg_Value16_Input.visible = true
                lg_Value16_Text.visible = false
                lg_Value16_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 565
        anchors.top: backGround.top
        anchors.topMargin: 1030
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lc_Value16_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LC_Value16
        }

        TextInput{
            id:lc_Value16_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 16),"LC_VALUE",lc_Value16_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lc_Value16_Text.visible = true
                lc_Value16_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lc_Value16_Input.forceActiveFocus()
                lc_Value16_Input.text = lc_Value16_Text.text
                lc_Value16_Input.visible = true
                lc_Value16_Text.visible = false
                lc_Value16_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 735
        anchors.top: backGround.top
        anchors.topMargin: 1030
        width: 170
        height: 60
        border.width: 1

        Text{
            id:count16_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.Count16
        }

        TextInput{
            id:count16_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 16),"Count",count16_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                count16_Text.visible = true
                count16_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                count16_Input.forceActiveFocus()
                count16_Input.text = count16_Text.text
                count16_Input.visible = true
                count16_Text.visible = false
                count16_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 905
        anchors.top: backGround.top
        anchors.topMargin: 1030
        width: 170
        height: 60
        border.width: 1

        Text{
            id:workedCount16_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.workedCount16_PL
        }

    }
    ///////////////  第十七行 数据  ////////////////////////

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 115
        anchors.top: backGround.top
        anchors.topMargin: 1090
        width: 140
        height: 60
        border.width: 1

        Text{
            id:leftAngle17_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LeftAngle17
            color: Cpp_PLProcess.LeftAngle17 === "45" ? "black" : Cpp_PLProcess.LeftAngle17 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.LeftAngle17 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 17),"LeftAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.LeftAngle17 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 17),"LeftAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }


    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 255
        anchors.top: backGround.top
        anchors.topMargin: 1090
        width: 140
        height: 60
        border.width: 1

        Text{
            id:rightAngle17_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.RightAngle17
            color: Cpp_PLProcess.RightAngle17 === "45" ? "black" : Cpp_PLProcess.RightAngle17 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.RightAngle17 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 17),"RightAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.RightAngle17 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 17),"RightAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 395
        anchors.top: backGround.top
        anchors.topMargin: 1090
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lg_Value17_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LG_Value17
        }

        TextInput{
            id:lg_Value17_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 17),"LG_VALUE",lg_Value17_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lg_Value17_Text.visible = true
                lg_Value17_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lg_Value17_Input.forceActiveFocus()
                lg_Value17_Input.text = lg_Value17_Text.text
                lg_Value17_Input.visible = true
                lg_Value17_Text.visible = false
                lg_Value17_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 565
        anchors.top: backGround.top
        anchors.topMargin: 1090
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lc_Value17_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LC_Value17
        }

        TextInput{
            id:lc_Value17_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 17),"LC_VALUE",lc_Value17_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lc_Value17_Text.visible = true
                lc_Value17_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lc_Value17_Input.forceActiveFocus()
                lc_Value17_Input.text = lc_Value17_Text.text
                lc_Value17_Input.visible = true
                lc_Value17_Text.visible = false
                lc_Value17_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 735
        anchors.top: backGround.top
        anchors.topMargin: 1090
        width: 170
        height: 60
        border.width: 1

        Text{
            id:count17_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.Count17
        }

        TextInput{
            id:count17_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 17),"Count",count17_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                count17_Text.visible = true
                count17_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                count17_Input.forceActiveFocus()
                count17_Input.text = count17_Text.text
                count17_Input.visible = true
                count17_Text.visible = false
                count17_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 905
        anchors.top: backGround.top
        anchors.topMargin: 1090
        width: 170
        height: 60
        border.width: 1

        Text{
            id:workedCount17_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.workedCount17_PL
        }

    }
    ///////////////  第十八行 数据  ////////////////////////

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 115
        anchors.top: backGround.top
        anchors.topMargin: 1150
        width: 140
        height: 60
        border.width: 1

        Text{
            id:leftAngle18_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LeftAngle18
            color: Cpp_PLProcess.LeftAngle18 === "45" ? "black" : Cpp_PLProcess.LeftAngle18 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.LeftAngle18 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 18),"LeftAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.LeftAngle18 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 18),"LeftAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }


    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 255
        anchors.top: backGround.top
        anchors.topMargin: 1150
        width: 140
        height: 60
        border.width: 1

        Text{
            id:rightAngle18_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.RightAngle18
            color: Cpp_PLProcess.RightAngle18 === "45" ? "black" : Cpp_PLProcess.RightAngle18 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.RightAngle18 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 18),"RightAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.RightAngle18 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 18),"RightAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 395
        anchors.top: backGround.top
        anchors.topMargin: 1150
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lg_Value18_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LG_Value18
        }

        TextInput{
            id:lg_Value18_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 18),"LG_VALUE",lg_Value18_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lg_Value18_Text.visible = true
                lg_Value18_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lg_Value18_Input.forceActiveFocus()
                lg_Value18_Input.text = lg_Value18_Text.text
                lg_Value18_Input.visible = true
                lg_Value18_Text.visible = false
                lg_Value18_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 565
        anchors.top: backGround.top
        anchors.topMargin: 1150
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lc_Value18_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LC_Value18
        }

        TextInput{
            id:lc_Value18_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 18),"LC_VALUE",lc_Value18_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lc_Value18_Text.visible = true
                lc_Value18_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lc_Value18_Input.forceActiveFocus()
                lc_Value18_Input.text = lc_Value18_Text.text
                lc_Value18_Input.visible = true
                lc_Value18_Text.visible = false
                lc_Value18_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 735
        anchors.top: backGround.top
        anchors.topMargin: 1150
        width: 170
        height: 60
        border.width: 1

        Text{
            id:count18_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.Count18
        }

        TextInput{
            id:count18_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 18),"Count",count18_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                count18_Text.visible = true
                count18_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                count18_Input.forceActiveFocus()
                count18_Input.text = count18_Text.text
                count18_Input.visible = true
                count18_Text.visible = false
                count18_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 905
        anchors.top: backGround.top
        anchors.topMargin: 1150
        width: 170
        height: 60
        border.width: 1

        Text{
            id:workedCount18_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.workedCount18_PL
        }

    }
    ///////////////  第十九行 数据  ////////////////////////

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 115
        anchors.top: backGround.top
        anchors.topMargin: 1210
        width: 140
        height: 60
        border.width: 1


        Text{
            id:leftAngle19_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LeftAngle19
            color: Cpp_PLProcess.LeftAngle19 === "45" ? "black" : Cpp_PLProcess.LeftAngle19 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.LeftAngle19 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 19),"LeftAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.LeftAngle19 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 19),"LeftAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }


    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 255
        anchors.top: backGround.top
        anchors.topMargin: 1210
        width: 140
        height: 60
        border.width: 1

        Text{
            id:rightAngle19_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.RightAngle19
            color: Cpp_PLProcess.RightAngle19 === "45" ? "black" : Cpp_PLProcess.RightAngle19 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.RightAngle19 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 19),"RightAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.RightAngle19 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 19),"RightAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 395
        anchors.top: backGround.top
        anchors.topMargin: 1210
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lg_Value19_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LG_Value19
        }

        TextInput{
            id:lg_Value19_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 19),"LG_VALUE",lg_Value19_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lg_Value19_Text.visible = true
                lg_Value19_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lg_Value19_Input.forceActiveFocus()
                lg_Value19_Input.text = lg_Value19_Text.text
                lg_Value19_Input.visible = true
                lg_Value19_Text.visible = false
                lg_Value19_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 565
        anchors.top: backGround.top
        anchors.topMargin: 1210
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lc_Value19_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LC_Value19
        }

        TextInput{
            id:lc_Value19_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 19),"LC_VALUE",lc_Value19_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lc_Value19_Text.visible = true
                lc_Value19_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lc_Value19_Input.forceActiveFocus()
                lc_Value19_Input.text = lc_Value19_Text.text
                lc_Value19_Input.visible = true
                lc_Value19_Text.visible = false
                lc_Value19_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 735
        anchors.top: backGround.top
        anchors.topMargin: 1210
        width: 170
        height: 60
        border.width: 1

        Text{
            id:count19_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.Count19
        }

        TextInput{
            id:count19_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 19),"Count",count19_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                count19_Text.visible = true
                count19_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                count19_Input.forceActiveFocus()
                count19_Input.text = count19_Text.text
                count19_Input.visible = true
                count19_Text.visible = false
                count19_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 905
        anchors.top: backGround.top
        anchors.topMargin: 1210
        width: 170
        height: 60
        border.width: 1

        Text{
            id:workedCount19_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.workedCount19_PL
        }

    }
    ///////////////  第二十行 数据  ////////////////////////

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 115
        anchors.top: backGround.top
        anchors.topMargin: 1270
        width: 140
        height: 60
        border.width: 1

        Text{
            id:leftAngle20_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LeftAngle20
            color: Cpp_PLProcess.LeftAngle20 === "45" ? "black" : Cpp_PLProcess.LeftAngle20 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.LeftAngle20 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 20),"LeftAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.LeftAngle20 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 20),"LeftAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }


    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 255
        anchors.top: backGround.top
        anchors.topMargin: 1270
        width: 140
        height: 60
        border.width: 1

        Text{
            id:rightAngle20_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.RightAngle20
            color: Cpp_PLProcess.RightAngle20 === "45" ? "black" : Cpp_PLProcess.RightAngle20 === "90" ? "red" : "black"
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()
                if(Cpp_PLProcess.RightAngle20 === "45")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 20),"RightAngle","90")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
                else if(Cpp_PLProcess.RightAngle20 === "90")
                {
                    Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 20),"RightAngle","45")
                    Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                }
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 395
        anchors.top: backGround.top
        anchors.topMargin: 1270
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lg_Value20_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LG_Value20
        }

        TextInput{
            id:lg_Value20_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 20),"LG_VALUE",lg_Value20_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lg_Value20_Text.visible = true
                lg_Value20_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lg_Value20_Input.forceActiveFocus()
                lg_Value20_Input.text = lg_Value20_Text.text
                lg_Value20_Input.visible = true
                lg_Value20_Text.visible = false
                lg_Value20_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 565
        anchors.top: backGround.top
        anchors.topMargin: 1270
        width: 170
        height: 60
        border.width: 1

        Text{
            id:lc_Value20_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.LC_Value20
        }

        TextInput{
            id:lc_Value20_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 20),"LC_VALUE",lc_Value20_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                lc_Value20_Text.visible = true
                lc_Value20_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                lc_Value20_Input.forceActiveFocus()
                lc_Value20_Input.text = lc_Value20_Text.text
                lc_Value20_Input.visible = true
                lc_Value20_Text.visible = false
                lc_Value20_Input.selectAll()
            }
        }

    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 735
        anchors.top: backGround.top
        anchors.topMargin: 1270
        width: 170
        height: 60
        border.width: 1

        Text{
            id:count20_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_PLProcess.Count20
        }

        TextInput{
            id:count20_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: false

            onEditingFinished: {
                Cpp_PLProcess.saveData((packetNumber.currentIndex*20 + 20),"Count",count20_Input.text)
                Cpp_PLProcess.getParameterByPacket(packetNumber.currentIndex)
                count20_Text.visible = true
                count20_Input.visible = false
            }

        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                count20_Input.forceActiveFocus()
                count20_Input.text = count20_Text.text
                count20_Input.visible = true
                count20_Text.visible = false
                count20_Input.selectAll()
            }
        }

    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 905
        anchors.top: backGround.top
        anchors.topMargin: 1270
        width: 170
        height: 60
        border.width: 1

        Text{
            id:workedCount20_Text
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.workedCount20_PL
        }

    }






    Rectangle{
        width: backGround.width
        height: 120
        color: "#00bfff"
        border.width: 5
        border.color: "#F0F8FF"
        anchors.top: backGround.top
        anchors.topMargin: 1330
        anchors.horizontalCenter: backGround.horizontalCenter

        Text{
            anchors.verticalCenter: parent.verticalCenter
            anchors.left: parent.left
            anchors.leftMargin: 30
            font.pixelSize: 30
            font.bold: true
            text:qsTr("当前位置")
        }

        Rectangle{
            anchors.left: parent.left
            anchors.leftMargin: 180
            anchors.verticalCenter: parent.verticalCenter
            width: 200
            height: 100
            radius: 10
            border.width: 1
            border.color: "#F0F8FF"
            color: "black"

            Text{           //  当前位置显示
                id:currentLocatoin_Text
                anchors.centerIn: parent
                font.pixelSize: 30
                font.bold: true
                visible: true
                color: "aqua"
                text:Cpp_Connect.currentLocation
            }
        }

        Text{
            anchors.verticalCenter: parent.verticalCenter
            anchors.left: parent.left
            anchors.leftMargin: 440
            font.pixelSize: 30
            font.bold: true
            text:qsTr("X轴当前位置")
        }

        Rectangle{
            anchors.left: parent.left
            anchors.leftMargin: 630
            anchors.verticalCenter: parent.verticalCenter
            width: 200
            height: 100
            radius: 10
            border.width: 1
            border.color: "#F0F8FF"
            color: "black"

            Text{           //  X轴当前位置显示
                id:xCurrentLocatoin_Text
                anchors.centerIn: parent
                font.pixelSize: 30
                font.bold: true
                visible: true
                color: "aqua"
                text: Cpp_Connect.xAxisCurrentLocation
            }
        }


        Rectangle{          // 清除数据按钮
            anchors.left: parent.left
            anchors.leftMargin: 860
            anchors.verticalCenter: parent.verticalCenter
            width: 200
            height: 100
            radius: 10
            border.width: 1
            border.color: "#F0F8FF"
            color: "#006cee"

            Text{
                anchors.centerIn: parent
                font.pixelSize: 30
                font.bold: true
                text:qsTr("清除数据")
            }

            MouseArea{
                anchors.fill: parent

                onPressed: {
                    parent.forceActiveFocus()
                    parent.color = "#ff3606"
                }

                onReleased: {
                    parent.color = "#006cee"
                }
            }
        }
    }

    Rectangle{
        width: backGround.width
        height: 150
        color: "#00bfff"
        border.width: 5
        border.color: "#F0F8FF"
        anchors.top: backGround.top
        anchors.topMargin: 1445
        anchors.horizontalCenter: backGround.horizontalCenter

        Rectangle{          // 双锯？
            anchors.left: parent.left
            anchors.leftMargin: 15
            anchors.verticalCenter: parent.verticalCenter
            width: 200
            height: 100
            radius: 10
            border.width: 1
            border.color: "#F0F8FF"
            color: "#6d6d6d"

            Text{
                anchors.centerIn: parent
                font.pixelSize: 30
                font.bold: true
                text: Cpp_Connect.knobMode === "0" ? qsTr("双 锯") : Cpp_Connect.knobMode === "1" ? qsTr("单 左") : qsTr("单 右")
                color: "#00ff00"
            }

        }


        Rectangle{          // 锯：选择？
            anchors.left: parent.left
            anchors.leftMargin: 225
            anchors.verticalCenter: parent.verticalCenter
            width: 200
            height: 100
            radius: 10
            border.width: 1
            border.color: "#F0F8FF"
            color: "#006cee"

            Text{
                anchors.centerIn: parent
                font.pixelSize: 30
                font.bold: true
                text:qsTr("锯：选择")
            }

            MouseArea{
                anchors.fill: parent

                onPressed: {
                    parent.forceActiveFocus()
                    parent.color = "#ff3606"
                    if(Cpp_Connect.knobMode === "0" )
                    {
                        Cpp_Connect.write_modbus_rtu_Hold("229","1")
                    }
                    else if(Cpp_Connect.knobMode === "1")
                    {
                        Cpp_Connect.write_modbus_rtu_Hold("229","2")
                    }
                    else if(Cpp_Connect.knobMode === "2")
                    {
                        Cpp_Connect.write_modbus_rtu_Hold("229","0")
                    }

                }

                onReleased: {
                    parent.color = "#006cee"
                }
            }
        }        


        Rectangle{          // 网络料单
            anchors.left: parent.left
            anchors.leftMargin: 440
            anchors.verticalCenter: parent.verticalCenter
            width: 300
            height: 100
            radius: 10
            border.width: 1
            border.color: "#F0F8FF"
            color: "#ff7f50"
            // enabled: false
            // visible: false

            Text{
                anchors.centerIn: parent
                font.pixelSize: 30
                font.bold: true
                text:qsTr("网络料单")
            }

            MouseArea{
                anchors.fill: parent

                onPressed: {
                    parent.forceActiveFocus()
                    parent.color = "#ffff00"
                }

                onReleased: {
                    parent.color = "#ff7f50"
                    netWorkFormulaWindow.visible = true
                    pl_ProcessWindow.visible = false
                    Cpp_Connect.write_modbus_rtu_Hold("48","6")
                }
            }
        }

        Rectangle{          // 二维码料单
            anchors.left: parent.left
            anchors.leftMargin: 760
            anchors.verticalCenter: parent.verticalCenter
            width: 300
            height: 100
            radius: 10
            border.width: 1
            border.color: "#F0F8FF"
            color: "#ff7f50"

            Text{
                anchors.centerIn: parent
                font.pixelSize: 30
                font.bold: true
                text:qsTr("二维码"+"\n"+" 料单")
            }

            MouseArea{
                anchors.fill: parent

                onPressed: {
                    parent.forceActiveFocus()
                    parent.color = "#ffff00"
                }

                onReleased: {
                    parent.color = "#ff7f50"
                    qrCodeFormulaWindow.visible = true
                    pl_ProcessWindow.visible = false
                    Cpp_Connect.write_modbus_rtu_Hold("48","6")
                }
            }
        }
    }


}
